home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Development / PartMaker / Container•1.0d11v2 / Container•1.0d11v2.rsrc / dFRK_5057 < prev    next >
Encoding:
Text File  |  1995-12-08  |  2.0 KB  |  63 lines

  1. #========================================================================================
  2. #
  3. #    File:                SetBuildPath
  4. #    Release Version:    $ 1.0d11 $
  5. #
  6. #    Copyright:    (c) 1995 by Apple Computer, Inc., all rights reserved.
  7. #
  8. #========================================================================================
  9.  
  10.  
  11. #-----------------------------------------------------------------------
  12. #    Location of the current build environment.
  13. #
  14. #    NOTE: The first line is the only line that needs to change to
  15. #    support a different environment directory.
  16. #-----------------------------------------------------------------------
  17. Set FWBldEnvDir "{ODFDev}Container:SC68KDebug:"
  18. Export FWBldEnvDir
  19.  
  20. #-----------------------------------------------------------------------
  21. #    Location to put libraries.
  22. #-----------------------------------------------------------------------
  23. Set FWLibDir "{FWBldEnvDir}Lib:"
  24. Export FWLibDir
  25.  
  26. #-----------------------------------------------------------------------
  27. #    Location to put built parts.
  28. #    (Assumed to be in the default directory.)
  29. #-----------------------------------------------------------------------
  30. Set FWBinDir ":Bin:"
  31. Export FWBinDir
  32.  
  33. #-----------------------------------------------------------------------
  34. #    Location to put Precompiled headers.
  35. #-----------------------------------------------------------------------
  36. Set FWPreCompHdrDir "{FWBldEnvDir}Precompile∂ Headers:"
  37. Export FWPreCompHdrDir
  38.  
  39. #-----------------------------------------------------------------------
  40. #    Check to make sure they exist before we continue.
  41. #-----------------------------------------------------------------------
  42.  
  43. If ¬ `Exists "{FWBldEnvDir}"`
  44.     Echo "Can not find the build environment directory: {FWBldEnvDir}"
  45.     Exit 1
  46. End
  47.  
  48. If ¬ `Exists "{FWLibDir}"`
  49.     Echo "Can not find the build library directory: {FWLibDir}"
  50.     Exit 1
  51. End
  52.  
  53. If ¬ `Exists "{FWBinDir}"`
  54.     Echo "Can not find the build binaries directory: {FWBinDir}"
  55.     Exit 1
  56. End
  57.  
  58. If ¬ `Exists "{FWPreCompHdrDir}"`
  59.     Echo "Can not find the pre-compiled headers directory: {FWPreCompHdrDir}"
  60.     Exit 1
  61. End
  62.  
  63.